|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnegotiator.issue.Objective
negotiator.issue.Issue
public abstract class Issue
Class Issue represents a negotiation issue to be settled in a negotiation.
Issues in a domain are identified by unique index field.
| Constructor Summary | |
|---|---|
Issue(java.lang.String name,
int issueNumber)
Creates a new issue give its name and number. |
|
Issue(java.lang.String name,
int issueNumber,
Objective parent)
Creates a new issue give its name, number, and parent. |
|
| Method Summary | |
|---|---|
void |
addChild(Objective newObjective)
Overrides addChild from Objective to do nothing, since Issues can't have children. |
abstract boolean |
checkInRange(Value value)
Method to check if the given value is in the range specified by the issue. |
abstract java.lang.String |
convertToString()
|
abstract ISSUETYPE |
getType()
This method is added for convenience. |
negotiator.xml.SimpleElement |
toXML()
Returns a SimpleElement representation of this issue. |
| Methods inherited from class negotiator.issue.Objective |
|---|
children, equalContents, equals, getAllowsChildren, getChildAt, getChildCount, getChildren, getChildWithID, getDescription, getHighestObjectiveNr, getIndex, getName, getNumber, getObjective, getParent, getPath, getPreorderEnumeration, getPreorderIssueEnumeration, getPreorderObjectiveEnumeration, getSiblings, getUserObject, hashCode, insert, isIssue, isLeaf, isObjective, isParent, remove, remove, removeFromParent, setDescription, setName, setNumber, setParent, setUserObject, toString |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Issue(java.lang.String name,
int issueNumber)
name - of the issue.issueNumber - unique ID of the issue.
public Issue(java.lang.String name,
int issueNumber,
Objective parent)
name - of the issue.issueNumber - uniqueID of the issue.parent - objective of the issue.| Method Detail |
|---|
public abstract ISSUETYPE getType()
Objective
getType in class Objectivepublic abstract java.lang.String convertToString()
public abstract boolean checkInRange(Value value)
value - to be checked.
public void addChild(Objective newObjective)
addChild in class ObjectivenewObjective - gets negated.public negotiator.xml.SimpleElement toXML()
toXML in class Objective
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||